package com.mes_for_xxxxxx.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 供应商信息表，存储供应商相关信息
 * </p>
 *
 * @author 179005
 * @since 2024-09-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("supplier")
@ApiModel(value="Supplier对象", description="供应商信息表，存储供应商相关信息")
public class Supplier implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "供应商编码，用于唯一标识供应商")
    @TableId(value = "supplier_Code", type = IdType.AUTO)
    private String supplierCode;

    @ApiModelProperty(value = "供应商名称")
    private String supplierName;

    @ApiModelProperty(value = "供应商简称，可选字段")
    private String supplierShortName;

    @ApiModelProperty(value = "供应商等级")
    private String supplierLevel;

    @ApiModelProperty(value = "供应商评分，范围可根据实际情况定义")
    private BigDecimal supplierScore;

    @ApiModelProperty(value = "供应商电话，可选字段")
    private String supplierPhone;

    @ApiModelProperty(value = "是否启用，1为启用，0为禁用")
    private Boolean enabled;

    @ApiModelProperty(value = "备注信息，可选字段，用于记录供应商的其他信息")
    private String remark;

    @ApiModelProperty(value = "创建时间，可选字段，记录供应商信息的创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间，可选字段，记录供应商信息的最后更新时间")
    private LocalDateTime updateTime;


}
